<ion-view>
	<ion-content>
		<div class="content no-header ionic-pseudo">
			<form name="theForm" novalidate="novalidate">
				<div class="list card">
					<div class="item item-avatar">
						<img src="/Public/images/wkshop-logo.jpeg">
						<h2>【汪卡在线】---- 用户绑定或注册</h2>
						<p>汪卡用户绑定微信号 或 注册新的汪卡用户操作</p>
					</div>
					<div class="item">
						<div class="list">
							<label class="item item-input">
								<span class="input-label">手机号码：</span>
								<input type="tel" placeholder="请输入您的手机号码" name="mobile"
								       ng-model="formData.mobile" ng-pattern="/^1[3|4|5|7|8][0-9]\d{4,8}$/" required>
							</label>
							<label class="item item-input">
								<span class="input-label">汪卡用户密码：</span>
								<input type="password" name="password" placeholder="请输入汪卡用户密码" ng-model="formData.password" required>
							</label>
							<!--<label class="item item-input" ng-hide="theForm.mobile.$invalid">
								<span class="input-label">发送验证码：</span>
								<button class="button button-small button-dark" button-widget="sms" ac="bindWaka"
								        mobile="{{formData.mobile}}" ng-disabled="theForm.mobile.$invalid">
									立即发送短信验证码
								</button>
							</label>
							<label class="item item-input" ng-hide="theForm.mobile.$invalid">
								<span class="input-label">短信验证码：</span>
								<input type="tel" name="code" placeholder="输入短信验证码" ng-model="formData.code" is-code="sms" mobile="{{formData.mobile}}" required>
							</label>-->
						</div>
					</div>
					<div class="row">
						<div class="col-40">
							<button class="button button-small button-balanced button-block button-positive" ng-click="submit()">
								绑定汪卡用户
							</button>
						</div>
						<div class="col-20"></div>
						<div class="col-40">
							<button class="button button-small button-assertive button-block button-positive" type="reset">重置绑定</button>
						</div>
					</div>
				</div>
			</form>
		</div>
		<div style="height: 1px;"></div>
	</ion-content>
</ion-view>